package com.sgb.link.entity;

import com.google.gson.annotations.SerializedName;

public class PickSelectEntity2 {

    @SerializedName(value = "no")
    private String no;

    @SerializedName(value = "name", alternate = {"service_class", "service_category","areaName", "cname", "value", "projectscale", "distance","lastMsgTime"})
    private String name;

    @SerializedName("simpleName")
    public String simpleName;

    private int color;

    public PickSelectEntity2() {
    }

    public PickSelectEntity2(String no, String name) {
        this.no = no;
        this.name = name;
    }

    public PickSelectEntity2(String no, String name, int color) {
        this.no = no;
        this.name = name;
        this.color = color;
    }

    public String getSimpleName() {
        return simpleName;
    }

    public void setSimpleName(String simpleName) {
        this.simpleName = simpleName;
    }

    public int getColor() {
        return color;
    }

    public void setColor(int color) {
        this.color = color;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "PickSelectEntity2{" +
                "no='" + no + '\'' +
                ", name='" + name + '\'' +
                ", simpleName='" + simpleName + '\'' +
                ", color=" + color +
                '}';
    }
}
